import axios from '@/api/common.js'
// 添加商品
export const addGoods = (data) => {
  return axios({
    method: 'post',
    url: `goods`,
    data
  })
}
// 获取分类3级的数据
export const getCateList = (type) => {
  return axios({
    url: 'categories',
    params: { type }
  })
}
